package com.cjw.demo.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.cjw.demo.entity.TbHouseInfo;
import com.cjw.demo.entity.TbRoomReservation;
import com.cjw.demo.mapper.TbHouseInfoMapper;
import com.cjw.demo.service.ITbHouseInfoService;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author cjw
 * @since 2021-11-18
 */
@Service
public class TbHouseInfoServiceImpl extends ServiceImpl<TbHouseInfoMapper, TbHouseInfo> implements ITbHouseInfoService {

    @Override
    public void houseupdata(TbHouseInfo TbHouseInfo) {
        List<String> str = TbHouseInfo.getStr();
        for (String s : str) {
            this.getBaseMapper().houseupdata(s);
        }

    }
}
